import { useRoutes } from 'react-router-dom'
import { routes } from './router'
import { dataList } from './mock'
import 'antd/dist/antd.css'
import 'nprogress/nprogress.css'
import { Button } from 'antd'
console.log('dataList:', dataList)
// 统一引入接口
// import './mock'

function App() {
  const element = useRoutes(routes)
  return <div className="App">{element}</div>
}
export default App
